<?php

function outputObject($success = FALSE, $message = '', $data = NULL, $methodName = '', $line = 0) {
    $obj = new stdClass();
    $obj->success = $success;
    $obj->method_name = $methodName;
    $obj->line = $line;
    $obj->message = $message;
    $obj->data = $data;
    return $obj;
}
